import { fetchRequest } from '@/utils/request'

// 登录
export const fetchLogin = (params?: any) => fetchRequest({ api: 'pro/user/login', ...params })
// 验证码
export const fetchCaptcha = (params?: any) => fetchRequest({ api: 'getCaptcha', ...params })
// 登出
export const fetchLogout = (params?: any) => fetchRequest({ api: 'logout', ...params })
